#ifndef _SECRETSHOPDEF_H_
#define _SECRETSHOPDEF_H_
#include "MgrBase.h"
#include "SimpleRefection.h"
class SecretShopDef:public ReflectionBase
{
	DECL_REFLECTION(SecretShopDef,"../../config/SecretShopDef.xml");
public:
	int32			m_iID;
	std::string		m_sDisplayName;

	std::vector<int32> m_vAutoRefreshHour;
	int32	m_iRefreshCostBase;
	int32	m_iRefreshCostAdd;

	int32	m_iRefreshDropID;
	

	rewrite virtual void OnArchieveReaded();
private:
};

typedef DefMangerTpl<SecretShopDef> __SecretShopDefManager; //eDefaultDef_Num
class SecretShopDefManager:public __SecretShopDefManager
{
public:
	static SecretShopDefManager& Instance(){static SecretShopDefManager _instance;return _instance;	}
	virtual void OnArchieveReaded();

	const SecretShopDef* GetDefConfig() const{ return m_pCurrentConfig;}
private:
	SecretShopDefManager(){}
	const SecretShopDef* m_pCurrentConfig;
};

#endif
/////////////////////////////////////////
